From 9103699033e155d89aba6723431e905b2f9db30b Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 22 Jan 2008 09:38:23 +0000 Subject: [PATCH] use the correct lookup table. 2008-01-22 Sven Neumann * extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the correct lookup table. svn path=/trunk/; revision=276 --- ChangeLog | 5 +++++ extensions/gimp-8bit.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 74324d4..2f0d55e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-22 Sven Neumann + + * extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the + correct lookup table. + 2008-01-20 Øyvind Kolås Always use BablFishPath's for accepted conversions. The path diff --git a/extensions/gimp-8bit.c b/extensions/gimp-8bit.c index ec187b4..4bbaccd 100644 --- a/extensions/gimp-8bit.c +++ b/extensions/gimp-8bit.c @@ -74,7 +74,7 @@ u8_gamma_2_2_to_float_linear (unsigned char *src, long n = samples; while (n--) - *d++ = lut_linear[*src++]; + *d++ = lut_gamma_2_2[*src++]; return samples; } -- 2.30.2